package org.jxc.dao;

import org.hibernate.SessionFactory;
import org.jxc.domain.ArriveOrderProduct;
import org.team4.dao.GenericDAO;

public class ArriveOrderProductDAO extends GenericDAO<ArriveOrderProduct> {

	private static final long serialVersionUID = 376038639038947152L;
	private static ArriveOrderProductDAO instance;
	
	public static ArriveOrderProductDAO getInstance(SessionFactory sessionFactory) {
        if(instance == null) {
            instance =  new ArriveOrderProductDAO(sessionFactory);
        }
        return instance;
    }
	
	private ArriveOrderProductDAO(SessionFactory sessionFactory) {
		super(sessionFactory, ArriveOrderProduct.class);
	}
}